package com.finger.gulimall.order.entity.to;

import com.finger.gulimall.order.entity.OrderEntity;
import com.finger.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName OrderCreateTo
 * @Description
 * @Author finger
 * @Date 2022/7/10 22:14
 * @Version 1.0
 */
@Data
public class OrderCreateTo {
    private OrderEntity order;
    private List<OrderItemEntity> orderItems;
    private BigDecimal payPrice; // 订单计算应该支付的价格
    private BigDecimal fare; // 运费
}
